﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QXBook.Model
{
    public class CategoryInfo : IModelBase
    {
        public int CategoryID { get; set; }
        
        public string CategoryName { get; set; }
        /// <summary>
        /// 层次
        /// </summary>
        public string Stage { get; set; }

        public string DisplayName
        {
            get { return Stage + CategoryName; }
        }
        public int ParentID { get; set; }
        public string ParentIDList { get; set; }
        public string OrderKey { get; set; }
        /// <summary>
        /// 栏目板块
        /// </summary>
        public Part PartType { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate { get; set; }

        public int ID
        {
            get { return CategoryID; }
        }
    }
}
